package com.runen.infinitemovement.model.entity;

import java.time.LocalDateTime;
import java.util.List;

/**
 * Create by LiaoDuanHong
 * Create on 2020/09/21 17:39
 */
public class HomeEntity {

    /**
     * data : {"userId":"1335063308725665794","userName":"廖超","topCompanyInfo":{"companyId":"ebb71b2c-3066-3050-00bf-04e32fe2d7d7","companyName":"未来之来科技有限公司","logo":null,"introduction":"8","leader":"李5"},"myCompanyProgress":null,"tinderSurplus":0,"titleImg":null,"backgroundImg":null,"companiesProgress":[],"totalParticipant":22,"beginTime":"2020-12-07T15:26:14","deadlineTime":"2020-12-07T15:26:16","longMarchStory":["222","111"],"myLongMarchProgress":null,"activityStatistics":null,"recommendActivities":null,"choiceDynamics":null}
     * code : 0
     * msg :
     */

    public DataBean data;
    public int code;
    public String msg;

    public static class DataBean {
        /**
         * userId : 1335063308725665794
         * userName : 廖超
         * topCompanyInfo : {"companyId":"ebb71b2c-3066-3050-00bf-04e32fe2d7d7","companyName":"未来之来科技有限公司","logo":null,"introduction":"8","leader":"李5"}
         * myCompanyProgress : null
         * tinderSurplus : 0
         * titleImg : null
         * backgroundImg : null
         * companiesProgress : []
         * totalParticipant : 22
         * beginTime : 2020-12-07T15:26:14
         * deadlineTime : 2020-12-07T15:26:16
         * longMarchStory : ["222","111"]
         * myLongMarchProgress : null
         * activityStatistics : null
         * recommendActivities : null
         * choiceDynamics : null
         */

        public String userId;
        public String nickname;
        public TopCompanyInfoBean topCompanyInfo;
        public MyCompanyProgressBean myCompanyProgress;
        public int tinderSurplus;
        public String titleImg;
        public String backgroundImg;
        public int totalParticipant;
        public String beginTime;
        public String deadlineTime;
        public MyLongMarchProgressBean myLongMarchProgress;
        public ActivityStatisticsBean activityStatistics;
        public List<RecommendActivitiesEntity> recommendActivities;
        public List<DynamicsEntity> choiceDynamics;
        public List<CompaniesRankEntity> companiesProgress;
        public List<String> longMarchStory;
        public TeamMemberDTO teamMemberDTO;

        public static class TeamMemberDTO {
            public TeamMemberListBean leader;
            public Integer memberCount;
            public TeamBean team;
            public List<TeamMemberListBean> teamMemberList;
        }

        public static class TeamBean {
            public String companyId;
            public String companyName;
            public String introduction;
            public String leader;
            public String logo;
            public String parentId;
        }

        public static class TeamMemberListBean {
            public String createTime;
            public String headImgUrl;
            public String nickname;
            public int tinder = 0;
            public String userId;
        }

        public static class TopCompanyInfoBean {
            /**
             * companyId : ebb71b2c-3066-3050-00bf-04e32fe2d7d7
             * companyName : 未来之来科技有限公司
             * logo : null
             * introduction : 8
             * leader : 李5
             */

            public String companyId;
            public String companyName;
            public String logo;
            public String introduction;
            public String leader;
        }

        public static class MyCompanyProgressBean{

            /**
             * progress : 0
             * rank : 0
             */

            public double progress;
            public int rank;
        }
        public static class MyLongMarchProgressBean{

            /**
             * difficulty : 0
             * endPoint :
             * finishSection : 0
             * progress : 0
             * rank : 0
             * startPoint :
             * totalSection : 0
             */

            public int difficulty;
            public String endPoint;
            public int finishSection;
            public double progress;
            public int rank;
            public String startPoint;
            public int totalSection;
        }
        public static class CompaniesProgressBean{

            /**
             * fromLeft :
             * fromTop :
             * logo :
             * name :
             * progress : 0
             * tenantId :
             */

            public double fromLeft;
            public double fromTop;
            public String logo;
            public String name;
            public int progress;
            public String tenantId;
        }
        public static class ActivityStatisticsBean{

            /**
             * activity : 0
             * mileage : 0
             * participant : 0
             * sentPrize : 0
             */

            public int activity;
            public double mileage;
            public int participant;
            public int sentPrize;
        }
    }
}
